Optimal. Leaf size=163 \[ \frac {3 F_1\left (\frac {7}{3};1,\frac {1}{2};\frac {10}{3};-i \tan (c+d x),-\frac {b \tan (c+d x)}{a}\right ) \tan ^{\frac {7}{3}}(c+d x) \sqrt {1+\frac {b \tan (c+d x)}{a}}}{14 d \sqrt {a+b \tan (c+d x)}}+\frac {3 F_1\left (\frac {7}{3};1,\frac {1}{2};\frac {10}{3};i \tan (c+d x),-\frac {b \tan (c+d x)}{a}\right ) \tan ^{\frac {7}{3}}(c+d x) \sqrt {1+\frac {b \tan (c+d x)}{a}}}{14 d \sqrt {a+b \tan (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.19, antiderivative size = 163, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 5, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3656, 926, 129,
525, 524} \begin {gather*} \frac {3 \tan ^{\frac {7}{3}}(c+d x) \sqrt {\frac {b \tan (c+d x)}{a}+1} F_1\left (\frac {7}{3};1,\frac {1}{2};\frac {10}{3};-i \tan (c+d x),-\frac {b \tan (c+d x)}{a}\right )}{14 d \sqrt {a+b \tan (c+d x)}}+\frac {3 \tan ^{\frac {7}{3}}(c+d x) \sqrt {\frac {b \tan (c+d x)}{a}+1} F_1\left (\frac {7}{3};1,\frac {1}{2};\frac {10}{3};i \tan (c+d x),-\frac {b \tan (c+d x)}{a}\right )}{14 d \sqrt {a+b \tan (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 129
Rule 524
Rule 525
Rule 926
Rule 3656
Rubi steps
\begin {align*} \int \frac {\tan ^{\frac {4}{3}}(c+d x)}{\sqrt {a+b \tan (c+d x)}} \, dx &=\frac {\text {Subst}\left (\int \frac {x^{4/3}}{\sqrt {a+b x} \left (1+x^2\right )} \, dx,x,\tan (c+d x)\right )}{d}\\ &=\frac {\text {Subst}\left (\int \left (\frac {i x^{4/3}}{2 (i-x) \sqrt {a+b x}}+\frac {i x^{4/3}}{2 (i+x) \sqrt {a+b x}}\right ) \, dx,x,\tan (c+d x)\right )}{d}\\ &=\frac {i \text {Subst}\left (\int \frac {x^{4/3}}{(i-x) \sqrt {a+b x}} \, dx,x,\tan (c+d x)\right )}{2 d}+\frac {i \text {Subst}\left (\int \frac {x^{4/3}}{(i+x) \sqrt {a+b x}} \, dx,x,\tan (c+d x)\right )}{2 d}\\ &=\frac {(3 i) \text {Subst}\left (\int \frac {x^6}{\left (i-x^3\right ) \sqrt {a+b x^3}} \, dx,x,\sqrt [3]{\tan (c+d x)}\right )}{2 d}+\frac {(3 i) \text {Subst}\left (\int \frac {x^6}{\left (i+x^3\right ) \sqrt {a+b x^3}} \, dx,x,\sqrt [3]{\tan (c+d x)}\right )}{2 d}\\ &=\frac {\left (3 i \sqrt {1+\frac {b \tan (c+d x)}{a}}\right ) \text {Subst}\left (\int \frac {x^6}{\left (i-x^3\right ) \sqrt {1+\frac {b x^3}{a}}} \, dx,x,\sqrt [3]{\tan (c+d x)}\right )}{2 d \sqrt {a+b \tan (c+d x)}}+\frac {\left (3 i \sqrt {1+\frac {b \tan (c+d x)}{a}}\right ) \text {Subst}\left (\int \frac {x^6}{\left (i+x^3\right ) \sqrt {1+\frac {b x^3}{a}}} \, dx,x,\sqrt [3]{\tan (c+d x)}\right )}{2 d \sqrt {a+b \tan (c+d x)}}\\ &=\frac {3 F_1\left (\frac {7}{3};1,\frac {1}{2};\frac {10}{3};-i \tan (c+d x),-\frac {b \tan (c+d x)}{a}\right ) \tan ^{\frac {7}{3}}(c+d x) \sqrt {1+\frac {b \tan (c+d x)}{a}}}{14 d \sqrt {a+b \tan (c+d x)}}+\frac {3 F_1\left (\frac {7}{3};1,\frac {1}{2};\frac {10}{3};i \tan (c+d x),-\frac {b \tan (c+d x)}{a}\right ) \tan ^{\frac {7}{3}}(c+d x) \sqrt {1+\frac {b \tan (c+d x)}{a}}}{14 d \sqrt {a+b \tan (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Both result and optimal contain complex but leaf count is larger than twice
the leaf count of optimal. \(21046\) vs. \(2(163)=326\).
time = 36.82, size = 21046, normalized size = 129.12 \begin {gather*} \text {Result too large to show} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.49, size = 0, normalized size = 0.00 \[\int \frac {\tan ^{\frac {4}{3}}\left (d x +c \right )}{\sqrt {a +b \tan \left (d x +c \right )}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\tan ^{\frac {4}{3}}{\left (c + d x \right )}}{\sqrt {a + b \tan {\left (c + d x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\mathrm {tan}\left (c+d\,x\right )}^{4/3}}{\sqrt {a+b\,\mathrm {tan}\left (c+d\,x\right )}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________